<?php
namespace Home\Model;

use Think\Model;

class DriverModel extends Model {
	
	protected $_auto = array(
			array('create_time', 'time', self::MODEL_BOTH, 'function'),
	);
	
	protected $_validate = array(
			array('open_id', 'require', '请点击图文打开参与活动表单提交.', self::MUST_VALIDATE),
			array('service_no','','服务号已被注册',self::MUST_VALIDATE, 'unique'),
	);
	
}